<%@ page language="java"  import="cn.ac.iscas.bean.softwareCopyright.SoftwareCopyright,cn.ac.iscas.bean.softwareCopyright.SoftwarePicture,java.net.URL" pageEncoding="UTF-8"%>
<%@page import="java.net.URLEncoder"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %> 
<% %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>  
    <title>软著详细信息</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<link rel="stylesheet" href="../../css/vip.css" type="text/css">
    <script language=JavaScript src="../../js/FoshanRen.js"></script>
    <script language=JavaScript src="../../js/calendar.js"></script>
    <script type="text/javascript" src="../../js/showNewDiv.js"></script>
    <link rel="stylesheet" type="text/css" href="../../js/extjs/resources/css/ext-all.css"/>
   <script type="text/javascript" charset="utf-8" src="../../js/extjs/adapter/ext/ext-base.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../js/extjs/ext-all.js"></script>
</head> 
  <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  <table id="tables" width="98%" border="0" cellspacing="1" cellpadding="3" align="center">
    <tr bgcolor="6f8ac4"> 
      <td colspan="2" ><font color="#FFFFFF"><s:property value="softwareCopyright.softwareName"/>著作权详细信息：</font></td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="25%"> <div align="right">受理号：</div></td>
      <td width="75%"><s:property value="softwareCopyright.acceptNo"/></td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="25%"> <div align="right">著作权名称：</div></td>
      <td width="75%"><s:property value="softwareCopyright.softwareName"/></td>
    </tr>
     <tr bgcolor="f5f5f5"> 
      <td width="25%"> <div align="right">登记号：</div></td>
      <td width="75%"><s:property value="softwareCopyright.registerNo"/></td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="25%"> <div align="right">著作权所有人：</div></td>
      <td width="75%"><s:property value="softwareCopyright.copyrightOwner"/></td>
    </tr>
     <tr bgcolor="f5f5f5"> 
      <td width="25%"> <div align="right">受理日期：</div></td>
      <td width="75%"><s:date name="softwareCopyright.acceptDate" nice="false" format="yyyy-MM-dd"/></td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="25%"> <div align="right">登记日期：</div></td>
      <td width="75%"><s:date name="softwareCopyright.registerDate" nice="false" format="yyyy-MM-dd"/></td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="25%"> <div align="right">状态：</div></td>
      <td width="75%"><s:property value="softwareCopyright.state"/></td>
    </tr>
     <tr bgcolor="f5f5f5"> 
      <td width="25%" valign="top"> <div align="right">备注：</div></td>
      <td width="75%"><s:property value="softwareCopyright.note"/></td>
	</tr>
	<tr bgcolor="f5f5f5"> 
      <td width="25%"> <div align="right">软著所关联的项目：</div></td>
      <td width="75%"><a href='<s:url action="projectManage_detailQuery" namespace="/admin"><s:param name="project.id" value="%{softwareCopyright.project.id}"></s:param></s:url>'><s:property value="softwareCopyright.project.projectName"/></a></td>
    </tr>
      <tr bgcolor="f5f5f5"> 
      <td width="25%"> <div align="right">软著相关图片：</div></td>
      <td width="75%"></td>
      </tr>
      <%SoftwareCopyright softwareCopyright = (SoftwareCopyright)request.getAttribute("softwareCopyright"); 
       for(SoftwarePicture pic:softwareCopyright.getPicturePaths())//struts2 我实在不知道在这怎么用
        {%>
       <tr bgcolor="f5f5f5"> 
      <td width="25%"> <div align="right"></div></td>
       <td width="75%">
       <font color="#0066FF"><%=pic.getPictureName()%></font><a
		 href="softwarePictureDownload.action?realname=<%=pic.getRealName()%>&name=<%=URLEncoder.encode(pic.getPictureName())%>">下载
	</a></td>
       </tr>
      <%} %>
      
  </table>
  </body>
</html>
